<%@ page language="java" import="java.util.*,com.hanma.bean.Category" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
<%
	Category cate = (Category)request.getAttribute("cate");
%>
<from action="cateupdateAction.do?id=<%= cate.getId()%>" method="post">
	<table border="1" align="center" cellspacing="0" cellpadding="0" width="600">
		<tr align="center" height="50">
			<td colspan="2">分类修改</td>
		</tr>
		<tr align="center" height="50">
			<td>分类名称</td>
			<td><input type="text" value="<%= cate.getName()%>" name="name"></td>
		</tr>
		<tr align="center" height="50">
			<td>pid</td>
			<td><input type="text" value="<%= cate.getPid()%>" name="pid"></td>
		</tr>
		<tr align="center" height="50">
			<td colspan="2">
			<input type="submit" value="提交">
			</td>
		</tr>
	</table>
</from>
</body>
</html>